import App from './App'

// #ifndef VUE3
import Vue from 'vue'
import './uni.promisify.adaptor'
import * as config from "@/config.js";
import store from '@/store';
import jwtSign from "@/utils/jwtSign.js";
import imageFormat from "@/utils/imageFormat.js";
Vue.config.productionTip = false
Vue.prototype.$config = config;
Vue.prototype.$store = store;
Vue.prototype.$jwtSign = jwtSign;
Vue.prototype.$imageFormat = imageFormat;
App.mpType = 'app'
const app = new Vue({
  ...App
})
app.$mount()
// #endif

// #ifdef VUE3
import { createSSRApp } from 'vue'
export function createApp() {
  const app = createSSRApp(App)
  return {
    app
  }
}
// #endif